package xyz.ieden.hello.service;

import xyz.ieden.commons.entity.Book;

import java.util.List;

/**
 * Created by Gavin on 2017.08.05.
 */
public interface IBookService {
    /**
     * 获取书 Book
     *
     * @return
     */
    List<Book> getBookList();

    /**
     * 通过 ID 获取 Book
     *
     * @param id
     * @return
     */
    Book getBookById(Integer id);
}
